package de.pharmacontrol.psa.beans.interfaces;

import java.util.List;

import de.pharmacontrol.pilot.entities.Line;
import de.pharmacontrol.pilot.entities.LogEntry;
import de.pharmacontrol.pilot.entities.User;
import de.pharmacontrol.pilot.entities.LogEntry.Type;

public interface LogEntryService {
	public LogEntry createLogEntry(String message, Type type, User user, Line line);

	public List<LogEntry> findAllLogEntries(String messagePattern, User user, Line line);

	public List<LogEntry> findPagedLogEntries(int first, int pageSize);

	public int getLogEntryCount();
}
